0005BORROW_AMT PAYMENT*(1-(1+INTERESTRATE)^(-NUM_PAYMENTS))/INTERESTRATE % Finds amount which can be borrowed for given PAYMENT and INTERESTRATE % and number of payments. Interestrate is the rate for one payment period.
0005FRAC_OF_DAY DEC(HOURS, MINUTES, SECONDS)/24 % Returns time in hours, minutes, seconds% as a fraction of a day.
0005GC_DISTANCE ARCCOS(SIN(LAT1)*SIN(LAT2) +COS(LAT1)*COS(LAT2)*COS(LONG2-LONG1))*60 % Use F7 (degrees) to find great circle distance between two points given % longitudes and latitudes, in NAUTICAL miles. Statue miles =MN *1.1515503
0005NORMAL 1/SQRT(TWOPI)*EXP(-SQR(X)/2) % Normal distribution function.
0005NUM_PAYMENTS -(LN(1 -INTERESTRATE*PRES_VALUE/PAYMENT)/LN(1+INTERESTRATE)) % Finds # payments to pay PRES_VALUE loan with fixed PAYMENT and % INTERESTRATE for one payment period.
0005PAYMENT VALUE*INTERESTRATE/(1-(1+INTERESTRATE)^(-N)) % PAYMENT to pay loan VALUE for INTERESTRATE AND N payments. Interest rate% is annual % divided by N periods per year. Eg: 7.5%, monthly=0.075/12.
0005PAYMENT_AMT FUTURE_VAL*INTERESTRATE/((1+INTERESTRATE)*(N+1) -1-INTERESTRATE)) % Determines the payment required to attain FUTURE_VAL given INTERESTRATE % and N payments.
0005QUADRATIC1 (-B+SQRT(B*B-4*A*C))/(A+A) % Finds one root of quadratic equation. % Better techniques are suggested, depending upon coefficients A, B & C.
0005QUADRATIC2 (-B-SQRT(B*B-4*A*C))/(A+A) % Finds other root of quadratic equation. % Better techniques are suggested, depending upon coefficients A, B & C.
0005RECT_R SQRT(SQR(X)+SQR(Y)) % Converts rectangular X, Y to polar radius.
0005RECT_THETA ARCTAN2(X,Y) % Converts rectangular X, Y to polar angle theta in radians.